import request from '@/utils/request'

export function getFindType() {
  return request({
    url: '/params/list/type',
    method: 'get'
  })
}

export function autoGlobalAdd(data) {
  return request({
    url: '/autoGlobal',
    method: 'post',
    data
  })
}


export function autoGlobalDelete(data) {
  return request({
    url: '/autoGlobal',
    method: 'delete',
    data
  })
}


export function autoGlobalGet(globalId) {
  return request({
    url: `/autoGlobal/${globalId}`,
    method: 'get',
  })
}


export function autoGlobalPut(data) {
  return request({
    url: '/autoGlobal',
    method: 'put',
    data
  })
}

export function autoGlobalList(data) {
  return request({
    url: '/autoGlobal/list',
    method: 'post',
    data
  })
}
